package cn.itsource.common;

import lombok.Data;

import java.util.List;

/**
 * Effect:
 * date: 2022/1/15 11:42
 *
 * @author wangyu
 * @since JDK 1.8
 */
@Data
public class PageResult<T> {
    private Long total;
    private List<T> list;

    public PageResult() {
    }

    public PageResult(Long total, List<T> list) {
        this.total=total;
        this.list = list;
    }
}
